package com.leon.classify.domain;

import java.util.Date;
import java.util.Set;

/**
 * Company entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Company implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private String companyId;
	private SecondClass secondClass;
	private String companyName;
	private String companyDesc;
	private Integer displayOrder;
	private String mainPic;
	private String linkMan;
	private String phone;
	private String address;
	private String busLine;
	private String siteUrl;
	private String briefInfo;
	private Integer state;
	private Date createDate;
	private Set <AdvertPic> advertPics ;
	private Set <Comment> comments ;

	// Constructors

	/** default constructor */
	public Company() {
	}

	/** full constructor */
	public Company(SecondClass secondClass, String companyName,
			String companyDesc, Integer displayOrder, String mainPic,
			String linkMan, String phone, String address, String busLine,
			String siteUrl, String briefInfo, Integer state, Date createDate,
			Set <AdvertPic> advertPics, Set <Comment> comments) {
		this.secondClass = secondClass;
		this.companyName = companyName;
		this.companyDesc = companyDesc;
		this.displayOrder = displayOrder;
		this.mainPic = mainPic;
		this.linkMan = linkMan;
		this.phone = phone;
		this.address = address;
		this.busLine = busLine;
		this.siteUrl = siteUrl;
		this.briefInfo = briefInfo;
		this.state = state;
		this.createDate = createDate;
		this.advertPics = advertPics;
		this.comments = comments;
	}

	// Property accessors

	public String getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public SecondClass getSecondClass() {
		return this.secondClass;
	}

	public void setSecondClass(SecondClass secondClass) {
		this.secondClass = secondClass;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyDesc() {
		return this.companyDesc;
	}

	public void setCompanyDesc(String companyDesc) {
		this.companyDesc = companyDesc;
	}

	public Integer getDisplayOrder() {
		return this.displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}

	public String getMainPic() {
		return this.mainPic;
	}

	public void setMainPic(String mainPic) {
		this.mainPic = mainPic;
	}

	public String getLinkMan() {
		return this.linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBusLine() {
		return this.busLine;
	}

	public void setBusLine(String busLine) {
		this.busLine = busLine;
	}

	public String getSiteUrl() {
		return this.siteUrl;
	}

	public void setSiteUrl(String siteUrl) {
		this.siteUrl = siteUrl;
	}

	public String getBriefInfo() {
		return this.briefInfo;
	}

	public void setBriefInfo(String briefInfo) {
		this.briefInfo = briefInfo;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Set<AdvertPic> getAdvertPics() {
		return advertPics;
	}

	public void setAdvertPics(Set<AdvertPic> advertPics) {
		this.advertPics = advertPics;
	}

	public Set<Comment> getComments() {
		return comments;
	}

	public void setComments(Set<Comment> comments) {
		this.comments = comments;
	}


}